package com.iap.client.context
{
	import com.iap.app.data.AppData;
	import com.iap.app.data.IAppData;
	import com.iap.client.mediator.ClientListWindowMediator;
	import com.iap.client.view.client.ClientListWindow;
	import com.iap.common.command.ClientLiteCommand;
	import com.iap.common.service.ClientLiteService;
	import com.iap.common.service.IClientLiteService;
	import com.iap.common.signal.ClientLiteRequestSignal;
	
	import org.robotlegs.mvcs.SignalContext;

	public class ClientListWindowContext extends SignalContext
	{
		override public function startup():void
		{
			injector.mapSingletonOf(IAppData, AppData);
			injector.mapSingletonOf(IClientLiteService, ClientLiteService);
			
			signalCommandMap.mapSignalClass(ClientLiteRequestSignal, ClientLiteCommand);
			
			mediatorMap.mapView(ClientListWindow, ClientListWindowMediator);
		}
	}
}